package com.woniu.entity.vo;

import java.util.List;

public class CategoryVO {
    /*** 分类id*/
    private Integer id;
    /*** 父分类id*/
    private Integer pid;
    /*** 分类名称*/
    private String title;
    /*** 分类描述*/
    private String description;
    /*** 课程数量*/
    private Long count;
    /*** 子分类*/
    private List<CategoryVO> children;
    /*** 是否删除*/
    private int isDelete;

    public int getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(int isDelete) {
        this.isDelete = isDelete;
    }

    public List<CategoryVO> getChildren() {
        return children;
    }

    public void setChildren(List<CategoryVO> children) {
        this.children = children;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        return "CategoryVO{" +
                "children=" + children +
                ", id=" + id +
                ", pid=" + pid +
                ", title='" + title + '\'' +
                ", description='" + description + '\'' +
                ", count=" + count +
                ", isDelete=" + isDelete +
                '}';
    }
}
